package com.xy.modular.owner.model;

import javax.persistence.*;

public class OwnerRole {
    /**
     * 用户ID
     */
    @Column(name = "owner_id")
    private String ownerId;

    /**
     * 角色ID
     */
    @Column(name = "role_id")
    private String roleId;

    /**
     * 获取用户ID
     *
     * @return owner_id - 用户ID
     */
    public String getOwnerId() {
        return ownerId;
    }

    /**
     * 设置用户ID
     *
     * @param ownerId 用户ID
     */
    public void setOwnerId(String ownerId) {
        this.ownerId = ownerId;
    }

    /**
     * 获取角色ID
     *
     * @return role_id - 角色ID
     */
    public String getRoleId() {
        return roleId;
    }

    /**
     * 设置角色ID
     *
     * @param roleId 角色ID
     */
    public void setRoleId(String roleId) {
        this.roleId = roleId;
    }
}